<template>
  <div class="cate">
    <h2 class="title">{{ cateTitle }}分类</h2>
    <div>
      <div class="cate-top">
        <slot name="ct"></slot>
      </div>
      <div class="cate-bottom">
        <slot name="cb"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Category",
  props: ['cateTitle']
}
</script>

<style scoped>
.cate {
  background-color: skyblue;
  width: 300px;
  height: 400px;
}

.title {
  text-align: center;
}
</style>